﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CRMSimple.LogService.DataProtocol.Abstractions;

namespace CRMSimple.LogService.DataProducter.Abstractions
{
    /// <summary>
    /// 生产数据协定
    /// </summary>
    public interface IDataProducter
    {
        /// <summary>
        /// 生产数据
        /// </summary>
        void StartProduceData(Action<DataParam> action);
        /// <summary>
        /// 停止生产
        /// </summary>
        void StopProduceData();
    }
}
